package design_pattern;

import java.util.ArrayList;
import java.util.List;

public class ProxyDemo {
    public static void main(String[] args) {
        List<String> instance = (List)new JDKProxy().getInstance(new ArrayList<String>());
        instance.add("hello world");
        System.out.println(instance);
    }
}
